package com.magicsoft.share.bean.exchange;

import java.util.List;

/**
 * Created by lyf on 2017/12/1/001.
 */

public class ShopCartGoods {

    /**
     * total : 3
     * pages : 1
     * list : [{"goodsId":5,"goodsNum":1,"goodsImg":"http://img02.tooopen.com/Downs/images/2010/11/10/sy_20101110231001662221.jpg","goodsName":"黑白配蓝牙耳机","price":298,"goodsStock":100,"status":2,"delFlag":1,"choice":0},{"goodsId":4,"goodsNum":1,"goodsImg":"http://img02.tooopen.com/Downs/images/2010/11/10/sy_20101110231001662221.jpg","goodsName":"四叶草项链","price":168,"goodsStock":100,"status":2,"delFlag":1,"choice":0},{"goodsId":2,"goodsNum":1,"goodsImg":"http://img02.tooopen.com/Downs/images/2010/11/10/sy_20101110231001662221.jpg","goodsName":"小鹿抱枕","price":59,"goodsStock":100,"status":2,"delFlag":1,"choice":0}]
     * pageNum : 1
     */

    private int total;
    private int pages;
    private int pageNum;
    private List<ListBean> list;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * goodsId : 5
         * goodsNum : 1
         * goodsImg : http://img02.tooopen.com/Downs/images/2010/11/10/sy_20101110231001662221.jpg
         * goodsName : 黑白配蓝牙耳机
         * price : 298
         * goodsStock : 100
         * status : 2
         * delFlag : 1
         * choice : 0
         */

        private long goodsId;
        private int goodsNum;
        private String goodsImg;
        private String goodsName;
        private int price;
        private int goodsStock;
        private int status;
        private int delFlag;
        private int choice;
        private int checkStock;

        public long getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(long goodsId) {
            this.goodsId = goodsId;
        }

        public int getGoodsNum() {
            return goodsNum;
        }

        public void setGoodsNum(int goodsNum) {
            this.goodsNum = goodsNum;
        }

        public String getGoodsImg() {
            return goodsImg;
        }

        public void setGoodsImg(String goodsImg) {
            this.goodsImg = goodsImg;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getGoodsStock() {
            return goodsStock;
        }

        public void setGoodsStock(int goodsStock) {
            this.goodsStock = goodsStock;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(int delFlag) {
            this.delFlag = delFlag;
        }

        public int getChoice() {
            return choice;
        }

        public void setChoice(int choice) {
            this.choice = choice;
        }

        public int getCheckStock() {
            return checkStock;
        }

        public void setCheckStock(int checkStock) {
            this.checkStock = checkStock;
        }
    }
}
